<template>
   <div class="table">
     <a-table
         :columns="columns"
         :data="pipStore.pressureData"
         :pagination="false"
         :bordered="false"
         :scrollbar="pipStore.scroll"
         style="height: 450px"
     />
   </div>

</template>

<script lang="ts" setup>
import {usePipeStore} from "../../../store/pipe";
const pipStore = usePipeStore()

const columns = [
  {
    title: '上报时间',
    dataIndex: 'turnoverTime',
    width: 200
  },
  {
    title: '事件来源',
    dataIndex: 'region',
    width: 200
  },
  {
    title: '事件类型',
    dataIndex: 'alarm',
    width: 200
  }
];




</script>

<style scoped>
.table {
  overflow: hidden;
}
</style>